package com.minimalist.lindi;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 11987
 */
@SpringBootApplication(scanBasePackages = {"com.minimalist.lindi"
        , "com.minimalist.common"})
@ComponentScan(basePackages = {"com.minimalist.lindi", "com.minimalist.common"})
@EnableDiscoveryClient
@RefreshScope
@EnableFeignClients(basePackages = {"com.minimalist.common.feign.client.basic"})
public class MinimalistLindiApplication{
    public static void main(String[] args){
        SpringApplication application = new SpringApplication(
                MinimalistLindiApplication.class);
        application.setBannerMode(Banner.Mode.OFF);
        application.run(args);
    }
}
